import { call } from './call'
//bind和call的区别
//call会执行目标函数而bind会创建函数，不会去执行函数
export function bind(Fn,obj,...args){
    return function(...args2){
        return call(Fn,obj,...args,...args2)
    }
}